package com.test;

/**
 * Created by 41579 on 2017/4/16.
 */
public class InterruptRunnable implements Runnable {
    Integer lock = 1;
    InterruptObj interruptObj;
    public InterruptRunnable(InterruptObj interruptObj){
        this.interruptObj = interruptObj;
    }
    @Override
    public void run() {
        interruptObj.execute();
//        interruptObj.execute2();
//        interruptObj.execute3();
    }


}
